//
//  ICENavigatorBar.h
//  ICEH5Bridge
//
//  Created by wujianrong on 2017/8/15.
//  Copyright © 2017年 wanda. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ICENavViewConfig : NSObject
@property(nonatomic, strong) NSString* backImageName;
@property(nonatomic, strong) UIColor* titleColor;
@property(nonatomic, assign) CGFloat titleSize;
@property(nonatomic, strong) UIColor*  leftColor;
@property(nonatomic, assign) CGFloat leftiSize;
@property(nonatomic, strong) UIColor*  rightColor;
@property(nonatomic, assign) CGFloat rightSize;

@property(nonatomic, strong) UIColor*  backGroundColor;

@end


typedef void (^ICENavBtnClickBlock)(void);
@interface ICENavigatorBar : UIView
@property(nonatomic, strong) ICENavBtnClickBlock  leftClickBlock;
@property(nonatomic, strong) ICENavBtnClickBlock  rightClickBlock;
@property(nonatomic, strong) ICENavViewConfig*  config;

- (void)setupUI;

-(void)setLeftNavigationItemWithStr:(NSString*)left right:(NSString*)right title:(NSString*)title status:(NSString*)status;

-(void)setBackWithTitle:(NSString*)title;
@end



@interface ICEWebViewProgressBar : UIView

+ (void)configDefaultProgressHeight:(CGFloat)height;
+ (void)configDefaultProgressColor:(UIColor *)progressColor;
+ (void)configDefaultRemainColor:(UIColor *)remainColor;
+ (void)configAnimationWithDurations:(NSArray *)durations progresses:(NSArray *)progresses;
+ (void)configDefaultFinalAnimationDuration:(CFTimeInterval)duration;
+ (void)configDefaultTimingFunctions:(NSArray *)tfs finalTimingFunction:(NSString *)finalTF;

- (void)setProgressColor:(UIColor *)progressColor;
- (void)setRemainColor:(UIColor *)remainColor;
- (void)startAnimation;
- (void)finishAnimation;

@end


